package com.qf.service.impl;

import com.qf.dao.TeamDao;
import com.qf.dao.impl.TeamDaoImpl;

import com.qf.pojo.Team;
import com.qf.service.TeamService;

import java.util.List;

public class TeamServiceImpl implements TeamService {
    private TeamDao teamDao =new TeamDaoImpl();
    @Override
    public List<Team> findAllTeam() {
        return teamDao.selectAllTeam();
    }
}
